cmake_minimum_required(VERSION 3.1.3)
project(unnamed1)#

set(CMAKE_PREFIX_PATH "D:/qt/6.1.3/mingw81_64")
set(OpenCV_DIR D://opencv//opencv_mingw64_build//install)
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-pthread")
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")

find_package(OpenCV REQUIRED)
find_package(Qt6 COMPONENTS
        Core
        Gui
        Widgets
        Network
        REQUIRED)
link_libraries(ws2_32)


add_executable(unnamed1 main.cpp client_app.cpp caller.cpp)#

target_link_libraries(unnamed1
        ${OpenCV_LIBS}
        Qt::Core
        Qt::Gui
        Qt::Widgets
        Qt::Network
        )#




